package br.com.firula.bo.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import br.com.firula.bo.SerieBO;
import br.com.firula.dao.SerieDAO;
import br.com.firula.to.SerieTO;

@SuppressWarnings("unchecked")
@Service("serieBO")
public class SerieBOImpl extends GenericBOImpl implements SerieBO {

    @Autowired
    public void setSerieDAO(SerieDAO dao) {
        this.dao = dao;
    }

    public SerieBOImpl(){
    	setType("br.com.firula.to.SerieTO");
    }

    public SerieTO getSerieById(String id) {
    	return (SerieTO)get(id);
    }
}